package extractors;

import java.util.HashMap;
import java.util.List;

import primitive.Article;
import primitive.Pair;

public interface Extractor {
	
	//List<Article> articles;
	//List<Pair> labels_list;
	//List<HashMap<Integer, List<Double>>> vectors;

	//public void set_articles(List<Article> articles);			// deprecated
	public void set_labels(List<Pair> labels);
	//public List<HashMap<String, List<Double>>> get_vectors();	// deprecated
	
	//public void run();											// deprecated
	
	public void featuresExtraction(List<Article> aritlces);		// Extract features and feature vectors for training data
	public void featuresSave(String filename);
	
	public List<Double> extraction(Article article);			// Called by knn to extract vector from one article
	
	public void loadFeatures(String filename);
	public List<HashMap<String, List<Double>>> getTrainingSet();
	
	public List<String> setKeyWords(String filename);	/* Added by LK at 22/10/2012 */
}
